//
//  UIButton+QZAddition.h
//  QZ浪里个浪
//
//  Created by 秦－政 on 2016/10/24.
//  Copyright © 2016年 pete. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (QZAddition)
/// 创建 button 快捷方式
///
/// - parameter setImgName:        图片名字
/// - parameter backgroundImgName: 背景图片名字
/// - parameter target:             target
/// - parameter action:            action
///
/// - returns:
+ (instancetype)QZ_setImgName:(NSString *)name backgroundImgName:(NSString *)backName target:(id)target action:(SEL)action;

/// 设置 button
///
/// - parameter setHighlightedImgName:  图片
/// - parameter target:                target
/// - parameter action:                action
///
/// - returns:
+ (instancetype)QZ_setHighlightedImgName:(NSString *)Hname title:(NSString *)title target:(id)target action:(SEL)action;

+ (instancetype)QZ_setBackgroundImgName:(NSString *)bacImgName title:(NSString *)title fontSize:(CGFloat)fontSize titleColor:(UIColor *)color target:(id)target action:(SEL)action;

@end
